class ArvoresController < ApplicationController
  # GET /arvore
  # GET /arvore.xml
  def index(id = params[:node])
    @naturezas = Natureza.find_children(id)

    respond_to do |format|
      format.html # index.html.erb
      format.xml  { render :xml => @naturezas }
      format.json { render :json => @naturezas }
    end
  end

end
